package com.dnjn.mes.biz.mapper;

import com.dnjn.mes.biz.domain.MesWorkforceXref;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Amber
 * @since 2023-08-21
 */
public interface MesWorkforceXrefMapper extends BaseMapper<MesWorkforceXref> {

    @Update(" UPDATE mes_workforce_xref SET deleted='1' WHERE user_id=#{userId} ")
    void deleteByUserId(@Param("userId") Long userId);
}
